<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<div class="row">
	<nav class="navbar navbar-fixed-top my-navbar navmyself"
		role="navigation">

	<div class="navcontent">
		<div class="col-md-12 topTitle">
			<img src="image/logo/logo-lazyegg-word.png" width="365" height="100" />
		</div>
		<div class="navbar-header">
			<a class="navbar-brand topTitle" href="#"> <img
				src="image/logo/logo-lazyegg-70.gif" class="logostyle">
			</a>
		</div>
		<div class="collapse navbar-collapse" id="example-navbar-collapse">
			<ul class="nav navbar-nav navulmyself">
				<li><a>|</a></li>
				<li class="active"><a href="${pageContext.request.contextPath}/Index.html">主页</a></li>
				<li><a>|</a></li>
				<li><a href="${pageContext.request.contextPath}/FoodList.html?currentPage=1">菜单</a></li>
				<li><a>|</a></li>
				<c:choose>
					<c:when test="${empty sessionScope.user }">
						<li><a href="${pageContext.request.contextPath}/registerAndLogin.jsp" style="color: rgb(240, 173, 78);">登录</a></li>
						<li><a>|</a></li>
						<li><a href="${pageContext.request.contextPath}/registerAndLogin.jsp" class="lrcolor">注册</a></li>
						<li><a>|</a></li>
						<li><a>您好，游客</a></li>
					</c:when>
					<c:otherwise>
						<li><a href="${pageContext.request.contextPath}/MyCenter.html">您好，${sessionScope.user.userName }</a></li>
						<li><a>|</a></li>
						<li><a href="${pageContext.request.contextPath}/Exit.html">退出</a></li>
					</c:otherwise>  
				</c:choose>
				<li><a>|</a></li>
				<li><a href="${pageContext.request.contextPath}/aboutUs.jsp" class="lrcolor">关于</a></li>
				<li><a>|</a></li>
			</ul>
	</div>
	</nav>
	<div class="bg"></div>
</div>